package io.persimmon.core.module.collection;

import java.util.HashMap;

public class IntegerValueMap<T> extends HashMap<T, Integer> {
    public void incr(T key, int count) {
        this.put(key, this.getOrDefault(key, 0) + count);
    }
}
